import request from '@/router/axios'

export function getScoreNum(riverId, indexId) {
    return request({
        url: '/river/score/num',
        method: 'get',
        params: {
            riverId,
            indexId
        }
    })
}

export function calculateTotalScore(riverId) {
    return request({
        url: '/river/score/calculate',
        method: 'get',
        params: {
            riverId
        }
    })
}

export function getMaxScore(level) {
    return request({
        url: '/river/score/max',
        method: 'get',
        params: {
            level
        }
    })
}

